//
//  NSDate+FormatConversion.h
//  QuXiang
//
//  Created by Duncan on 2020/6/28.
//  Copyright © 2020 NanHuaiZi. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSDate (FormatConversion)

/// 传进时间戳字符串，返回日期 ymd
+ (NSString *)getStringWithTimeString:(NSString *)timeString format:(NSString * _Nullable)format;

/// 获取时间戳字符串，10位，秒
+ (NSString *)getTimeStringToSecond;

/// 获取时间，年月日，时分秒，毫秒
+ (NSString *)getNowTimeFormatStringToMillisecond;

#pragma mark ------- 分别获取yyyy-MM-dd/HH:mm:ss/yyyy-MM-dd HH:mm:ss格式的字符串 -------

+ (NSString *)jk_ymdFormat;
+ (NSString *)jk_hmsFormat;
+ (NSString *)jk_ymdHmsFormat;


@end



NS_ASSUME_NONNULL_END
